package com.risk.modules.rm.beans;

public enum JdUrls {
    RiskAudit("RiskAudit","https://way.jd.com/LICZX/riskAudit"),
    ;
    public String key;
    public String url;

    public static JdUrls get(Object key) {// 获取所有的值
        JdUrls[] lotteryType = JdUrls.values();
        for (JdUrls type : lotteryType) {
            if (type.key.equals(key)) {
                return type;
            }
        }
        return null;
    }
    JdUrls(String key,String url){
        this.key = key;
        this.url = url;
    }
}
